Move the include directive to the enum template
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Jul 2017 14:44:58 +0000 (15:44 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 17 Jul 2017 15:14:44 +0000 (15:14 +0000)
commit47a54bf876023b0cb457bc8a4f4264f9b2ed5438
tree85b607ebd1d3d257f325cdfccedcf03cf9806b5e
parent620a90ebfaf98f779b77cd8f97da1d06e146b832
Move the include directive to the enum template

There is no actual written guarantee in glib-mkenums that the template
line specified using --fhead will be added after the templates specified
inside the template file. Since the template file is only used once, we
can simply move the `#include` directive inside the template, so that it
is guaranteed to be in the right place.

Closes: #1007
Approved by: cgwalters
Makefile-libostree.am
src/libostree/ostree-enumtypes.c.template